package priv.mill.server.impl;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import priv.mill.dao.mapper.UserMapper;
import priv.mill.entry.UserInfo;
import priv.mill.server.UserService;

@Service
public class UserServiceImpl implements UserService{

	private static final Logger logger = Logger
			.getLogger(UserServiceImpl.class);
	
	@Autowired
	private UserMapper mapper;

	@Override
	public UserInfo getUser(Integer id) throws Exception {
		return mapper.getUser(id);
	}
	
	
}
